package com.tlgen.mapper;

import com.tlgen.model.Affair;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: tlgen
 * @Discription:
 */
public interface AffairMapper {
    public List<Affair> getAllAffairs();

    Integer insertSelective(Affair Affair);

    Integer updateByPrimaryKeySelective(Affair Affair);

    Integer deleteByPrimaryKey(Integer id);

    Integer deleteAffairByIds(@Param("ids") Integer[] ids);
}
